home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / Emulation_Include_Files / dccole.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  2.5 KB  |  89 lines

  1. /*++
  2.  
  3. Copyright (c) 1996  Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     dccole.h
  8.  
  9. Abstract:
  10.  
  11.     This file defines the OLE interface to the DCCMAN module (Desktop Only)
  12.     
  13. Environment:
  14.  
  15.     User Mode - Win32
  16.  
  17. --*/
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif /* __cplusplus */
  22.  
  23. // {A7B88840-A812-11cf-8011-00A0C90A8F78}
  24. DEFINE_GUID(IID_IDccManSink, 
  25. 0xa7b88840, 0xa812, 0x11cf, 0x80, 0x11, 0x0, 0xa0, 0xc9, 0xa, 0x8f, 0x78);
  26. // {A7B88841-A812-11cf-8011-00A0C90A8F78}
  27. DEFINE_GUID(IID_IDccMan, 
  28. 0xa7b88841, 0xa812, 0x11cf, 0x80, 0x11, 0x0, 0xa0, 0xc9, 0xa, 0x8f, 0x78);
  29. // {499C0C20-A766-11cf-8011-00A0C90A8F78}
  30. DEFINE_GUID(CLSID_DccMan, 
  31. 0x499c0c20, 0xa766, 0x11cf, 0x80, 0x11, 0x0, 0xa0, 0xc9, 0xa, 0x8f, 0x78);
  32.  
  33. #ifndef _DCCOLEH_
  34. #define _DCCOLEH_
  35.  
  36. //============================== OLE INTERFACE ===================================
  37.  
  38. #undef  INTERFACE
  39. #define INTERFACE   IDccManSink
  40.  
  41. DECLARE_INTERFACE_ (IDccManSink,  IUnknown)
  42. {
  43.      // These methods corespond to GW_LOG messages generated by the Win95 DCC
  44.     STDMETHOD(OnLogIpAddr) (THIS_ DWORD dwIpAddr) PURE;
  45.     STDMETHOD(OnLogTerminated) (THIS) PURE;
  46.     STDMETHOD(OnLogActive) (THIS) PURE;
  47.     STDMETHOD(OnLogInactive) (THIS) PURE;
  48.     STDMETHOD(OnLogAnswered) (THIS) PURE;
  49.     STDMETHOD(OnLogListen) (THIS) PURE;
  50.     STDMETHOD(OnLogDisconnection) (THIS) PURE;
  51.     STDMETHOD(OnLogError) (THIS) PURE;
  52. };
  53. typedef IDccManSink *LPDCCMANSINK;
  54.  
  55. #undef  INTERFACE
  56. #define INTERFACE   IDccMan
  57.  
  58. DECLARE_INTERFACE_ (IDccMan,  IUnknown)
  59. {
  60.     STDMETHOD(Advise) (THIS_
  61.         IN    IDccManSink * pDccSink,    // The advise sink that is requesting notification
  62.         OUT DWORD * pdwContext        // Identifies the context for future calls to the Unadvise method
  63.     ) PURE;
  64.     
  65.     STDMETHOD(Unadvise) (THIS_
  66.         DWORD dwContext                // As returned by Advise()
  67.     ) PURE;
  68.    
  69.     STDMETHOD(ShowCommSettings) (THIS) PURE;    // Displays the Communication Property Sheet on the screen
  70.                                                 // If a connection is active, the sheet is in read-only mode
  71.     STDMETHOD(AutoconnectEnable) (THIS) PURE;
  72.     STDMETHOD(AutoconnectDisable) (THIS) PURE;
  73.  
  74.     STDMETHOD(ConnectNow) (THIS) PURE;            // Active only when Autoconnect is Disabled
  75.     STDMETHOD(DisconnectNow) (THIS) PURE;        // Active only when Autoconnect is Disabled
  76.     
  77.     STDMETHOD(SetIconDataTransferring) (THIS) PURE;
  78.     STDMETHOD(SetIconNoDataTransferring) (THIS) PURE;
  79.     STDMETHOD(SetIconError) (THIS) PURE;
  80. };
  81. typedef IDccMan *LPDCCMAN;
  82.  
  83.  
  84. #endif /* end, ifdef _DCCOLEH_  */
  85.  
  86. #ifdef __cplusplus
  87. }
  88. #endif  /* __cplusplus */
  89.